package com.uw.uwrpc.demo.provider;

import com.uw.uwrpc.core.annotation.UWService;
import com.uw.uwrpc.demo.api.OrderService;
import com.uw.uwrpc.demo.api.dto.Order;
import com.uw.uwrpc.demo.api.dto.User;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;


@UWService
@Component
public class OrderServiceImpl implements OrderService {

    @Override
    public Order findById(long id) {
        return new Order(id, 1.0f);
    }
}
